home *** CD-ROM | disk | FTP | other *** search
/ HyperLib 1997 Winter - Disc 1 / HYPERLIB-1997-Winter-CD1.ISO.7z / HYPERLIB-1997-Winter-CD1.ISO / オンラインウェア / PRG / Prograph Reference Manual.sit / Prograph Reference Manual / Prograph Reference 8-End.rsrc / TEXT_142.txt < prev    next >
Text File  |  1995-10-26  |  3KB  |  126 lines

  1.  Appendix I
  2.  
  3.  Prograph Data Types
  4.  
  5.  t List of Data Types
  6.  t Descriptions
  7.  
  8. Please also refer to appendix IV, 窶彜yntax and Semantics.窶
  9.  
  10. t    List of Data Types  *517*
  11.  
  12. boolean
  13. integer
  14. list
  15. macintosh
  16. none
  17. null
  18. real
  19. string
  20. undefined
  21.  
  22. t    Descriptions  *517*
  23.  
  24.  
  25. _______________________________________
  26. boolean  
  27. ---------------------------------------
  28.  
  29.  
  30. Values:   TRUE | FALSE
  31.  
  32. Description:   Generated by any boolean primitive (for example, <, =, string?), if it has an output. Note that without an output, such an operation either succeeds or fails. 
  33.  
  34. _______________________________________
  35. integer  *518*
  36. ---------------------------------------
  37.  
  38.  
  39. Values:   from -2,147,483,648 to 2,147,483,647
  40.  
  41. Description:   The following belong to this type:  
  42.  
  43.  o  a decimal
  44.  
  45.  o  any number base (indicated as base#) from 2 to 32
  46.  
  47.  o  a 1,2,4 byte ASCII
  48.  
  49. Examples:      123 | 8#173 | 'a' | 'EQ' | 'STR' 
  50.  
  51. _______________________________________
  52. list  *518*
  53. ---------------------------------------
  54.  
  55.  
  56. Values:   (<any> ......) with up to 65,535 elements in the interpreter, 4,294,967,295 in the compiler.
  57.  
  58. Examples:      () | (a b (c (d))) | (a 123 TRUE)
  59.  
  60.  
  61. _______________________________________
  62. macintosh  *518*
  63. ---------------------------------------
  64.  
  65.  
  66. Values:   {vertical horizontal} | {top left bottom right} | <MacType>
  67.  
  68. Description:   {vertical horizontal} is of type Point and {top left bottom right} is of type Rect. Vertical, horizontal, top, left, bottom, and right are of type integer.
  69.  
  70.  MacType denotes any supported Macintosh type (such as MacType[@[@]address]).
  71. Examples:      {1 2} | {20 20 50 50} | WindowRecord@16#13579
  72.  
  73. _______________________________________
  74.  
  75. none  *518*
  76. ---------------------------------------
  77.  
  78.  
  79. Values:   NONE
  80.  
  81. Description:   Generated by Prograph when a terminal with no datalink attached is encountered during execution. This value is not accumulated on a List root of a calling repeat operation.
  82.  
  83. _______________________________________
  84.  
  85. null  *519*
  86. ---------------------------------------
  87.  
  88.  
  89. Values:   NULL
  90.  
  91. Description:   Default value on a newly created attribute, persistent, constant, or match; produced by Prograph search primitive when the search has been unsuccessful.
  92.  
  93. _______________________________________
  94.  
  95. real  *519*
  96. ---------------------------------------
  97.  
  98.  
  99. Values:   from -1.1E4932 to 1.1E4932
  100.  
  101. Description:   The following belong to this type:  
  102.  
  103.  o  a decimal
  104.  
  105.  o  an exponential
  106.  
  107. Examples:   1.2 | 1.80445227 E-1 | 2.0E3
  108.  
  109. _______________________________________
  110.  
  111. string  *519*
  112. ---------------------------------------
  113.  
  114.  
  115. Values:   any string of typeable characters, up to 65,535 long in the interpreter, 4,294,967,295 in the compiler.
  116.  
  117. Examples:   Hello | "This is a string"
  118.  
  119. _______________________________________
  120. undefined  *519*
  121. ---------------------------------------
  122.  
  123.  
  124. Values:   UNDEFINED
  125.  
  126. Description:   Generated by Prograph when an operation is skipped during execution.□